package com.shop.cereshop.commons.domain.recommend;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 动态足迹表
 * @TableName cere_recommend_footprint
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "CereRecommendFootprint", description = "动态足迹表")
public class CereRecommendFootprint {
    /**
     * 足迹ID
     */
    @TableId(value = "recommend_footprint_id", type = IdType.AUTO)  // 确保使用自增策略
    @ApiModelProperty(value = "足迹ID")
    private Long recommendFootprintId;

    /**
     * 访问对象ID
     */
    @ApiModelProperty(value = "访问对象ID")
    private Long targetId;

    /**
     * 动态类型(1-图文，2-视频，3-用户，4-直播)
     */
    @ApiModelProperty(value = "动态类型(1-图文，2-视频，3-用户，4-直播)")
    private Integer footprintType;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long buyerUserId;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
}